package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学科管理对象 subject
 * 
 * @author ruoyi
 * @date 2021-10-12
 */
public class Subject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 学科名称 */
    @Excel(name = "学科名称")
    private String subjectName;

    /** 学历名称 */
    @Excel(name = "学历名称")
    private String eduName;

    /** 是否删除 0 不删除 1删除 */
    private String del;

    /** 用户id */
    private Long userId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }
    public void setEduName(String eduName) 
    {
        this.eduName = eduName;
    }

    public String getEduName() 
    {
        return eduName;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectName", getSubjectName())
            .append("eduName", getEduName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("del", getDel())
            .append("userId", getUserId())
            .toString();
    }
}
